package com.tanhua.domain.mongo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "voice_time") //桃花传音
public class VoiceRemainTime implements java.io.Serializable {

    private static final long serialVersionUID = -3136732836884930502L;

    private ObjectId id; //主键id
    private Long userId;//用户id
    private Integer remainingTimes = 9;//剩余次数,每人每天9次

}
